Skip to content

Ignore entire workspace folder by default#35

Merged
rdehuyss merged 2 commits intomainfrom
chore/ignore-workspace
Mar 30, 2026
Merged

Ignore entire workspace folder by default#35
rdehuyss merged 2 commits intomainfrom
chore/ignore-workspace

Conversation

@auloin
Copy link
Copy Markdown
Contributor

@auloin auloin commented Mar 26, 2026

Not sure about this one does make sense to me to ignore the folder by default (especially when the workspace/conversations can be committed).

Also there is AGENT.md and AGENT-ORIGINAL.md, same content, one of the two can be dropped?

@auloin auloin requested a review from rdehuyss March 26, 2026 10:28
@cla-bot cla-bot bot added the cla-signed label Mar 26, 2026
@iNicholasBE
Copy link
Copy Markdown
Contributor

The onboarding step S4_AgentMdStep.java:40-48 loads the agent prompt with this fallback order:

AGENT.private.md — the real runtime file (written after onboarding completes, contains the user's personalized prompt)
AGENT.md — first fallback (template with placeholders)
AGENT-ORIGINAL.md — second fallback (identical template, "backup")
AGENT-ORIGINAL.md exists as a safety net so that if the user edits/deletes AGENT.md before completing onboarding, the original template is still available. But since AGENT.md is tracked in git, this scenario is unlikely — and the fallback chain already ends with an empty string anyway.

You can safely drop AGENT-ORIGINAL.md. The two-level fallback (AGENT.md → AGENT-ORIGINAL.md) is redundant since they have the same content and AGENT.md serves as the template just fine.

You'd just need to remove the one line at S4_AgentMdStep.java:45 and then delete the AGENT-ORIGINAL.MD

@rdehuyss rdehuyss merged commit 6412f02 into main Mar 30, 2026
1 check passed
@rdehuyss rdehuyss deleted the chore/ignore-workspace branch March 30, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants